package com.leanyuan.publi.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
@Data
public class House implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "house_id", type = IdType.AUTO)
    private Integer houseId;

    private Integer name;

    private Float hArea;

    public House() {
    }

    public House(Integer houseId, Integer name, Float hArea, Building building) {
        this.houseId = houseId;
        this.name = name;
        this.hArea = hArea;
        this.building = building;
    }

    private String hCircs;

    private String hCondition;

    private Integer buildingId;

    private Integer userId;

    @TableLogic
    private String housecondition;

    private Date houseaddtime;

    @TableField(exist = false)
    private Building building;

    @TableField(exist = false)
    private Userinfo userinfo;

}
